<!DOCTYPE HTML>
<title>Canvas test: 2d.getcontext.unique</title>
<!--[if IE]><script src="../excanvas/excanvas.js"></script><![endif]-->
<script src="../tests.js"></script>
<link rel="stylesheet" href="../tests.css">
<link rel="prev" href="2d.type.extend.html" title="2d.type.extend">
<link rel="next" href="2d.getcontext.shared.html" title="2d.getcontext.shared">
<body class="show_output">
<p>
 <a href="2d.type.extend.html" accesskey="p" title="[p] 2d.type.extend">&lt;</a>
 <a href="index.html">[index]</a>
 <a href="2d.getcontext.shared.html" accesskey="n" title="[n] 2d.getcontext.shared">&gt;</a>
<h1><a href="index.2d.html">2d</a>.<a href="index.2d.getcontext.html">getcontext</a>.unique</h1>
<p class="desc">getContext('2d') returns the same object</p>
<div class="refs">References:
<ul>
<li><a href="spec.html#testrefs.context.2d.unique">context.2d.unique</a>

</ul>
</div>

<p class="output">Actual output:</p>
<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>

<ul id="d"></ul>
<script>
_addTest(function(canvas, ctx) {

_assertSame(canvas.getContext('2d'), canvas.getContext('2d'), "canvas.getContext('2d')", "canvas.getContext('2d')");


});
</script>

